package ai.mspbots.service.projectb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("user")
@Data
@NoArgsConstructor
public class UserEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    public UserEntity(String name) {
        this.name = name;
    }
}
